package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceSmShopDataLog 神秘商店数据统计
type DanceSmShopDataLog struct {
	Id          int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:id"`
	GiftId      string         `json:"giftId" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment:礼物id"`
	GiftNumber  int64          `json:"giftNumber" gorm:"column:gift_number;type:bigint;default:0;not null;comment:数量"`
	ElementNo   string         `json:"elementNo" gorm:"column:element_no;type:varchar(256);not null;default:'';comment: 散件编号"`
	Number      int64          `json:"number" gorm:"column:number;type:bigint;default:0;not null;comment:数量"`
	DateTimeStr string         `json:"dateTimeStr" gorm:"column:date_time_str;type:varchar(256);not null;default:'';comment:日期"` // 日期
	DateTime    int64          `json:"dateTime" gorm:"column:date_time;type:bigint;default:0;not null;comment:日期num"`            // 日期num
	CreatedId   int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	CreatedAt   time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt   time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt   gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
